cmake_minimum_required(VERSION 3.4.1)
set(SRC_DIR src/main/jni/opencore/codecs_v2/audio/gsm_amr/amr_nb/)
include_directories(src/main/jni/opencore/codecs_v2/audio/gsm_amr/amr_nb/dec,src/main/jni/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include)
aux_source_directory(src/main/jni/opencore/codecs_v2/audio/gsm_amr/amr_nb/dec SRC_LIST)
#aux_source_directory(src/main/jni/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc src_amr_nb_nec)

#aux_source_directory(src/main/jni/oscl oscl_src)


set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/jniLibs/${ANDROID_ABI})

#add_library(amr-codec SHARED src/main/cpp/amr_decoder.cpp ${src_amr_nb_common},${src_amr_nb_dec},${src_amr_nb_common})
#add_library(amr-codec SHARED src/main/cpp/amr_encoder.cpp ${src_amr_nb_common},${src_amr_nb_nec},${src_amr_nb_common})
#add_library(wrapper SHARED src/main/cpp/wrapper.cpp ${SRC_LIST})

find_library(log-lib log)


#target_link_libraries(libpvdecoder_gsmamr ${log-lib})

